package br.usp.ime.ingpos.modelo;

import java.util.Arrays;
import java.util.List;
import java.util.Vector;

public enum TipoLingua
{
    PORTUGUES( "", "pt" ),
    INGLES( "en", "en" );

    private String msgKeyLocale, msgKeyProperties;

    private TipoLingua(
        String msgKeyLocale, String msgKeyProperties )
    {
        this.msgKeyLocale = msgKeyLocale;
        this.msgKeyProperties = msgKeyProperties;
    }
    
    public static List<TipoLingua> getTipoLingua()
    {
        return new Vector<TipoLingua>(
            Arrays.<TipoLingua> asList( values() ) );
    }

    public String getMsgKeyLocale()
    {
        return msgKeyLocale;
    }

    public String getMsgKeyProperties()
    {
        return msgKeyProperties;
    }
}
